<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<table width="100%"><tr><td>
  <html:form action="/addToOrder.do">
       <html:hidden property="name" value="${product.name}"/>
       <html:hidden property="pid" value="${product.id}"/><br/>
       <html:hidden property="price" value="${product.price}" ></html:hidden><br/>
       数量：<html:text property="amount" value="1"></html:text><br/>
       <html:button property="" onclick="history.back()">返回</html:button><html:submit>确定</html:submit>
  </html:form>
  
</td></tr></table>